<template>
  <el-button size="small" icon="Delete" type="danger" @click="handleClick">
    <slot>删除</slot>
  </el-button>
</template>

<script setup lang="ts">
const emit = defineEmits(['click'])

const handleClick = () => {
  emit('click')
}
</script>
